package com.chinatechstar.admin.mapper;


import com.chinatechstar.admin.entity.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface DeptInfoMapper {

    int addDept(@Param("dept") Dept dept);

    int delDept(@Param("id") String id);

    int updateDept(@Param("dept") Dept dept);

    Map<String, Object> getDeptById(@Param("id") String id);

    List<LinkedHashMap<String, Object>> queryDept(@Param("paramMap") Map<String, Object> paramMap);

}
